-
Home
-
Shield Security – Smart Bot Blocking & Intrusion Prevention Security
-
19.1.9
-
Code
-
Classes
- IpRuleStatus
Total Complexity |
80 |
Dependencies |
10 |
Dependents |
24 |
Total lines |
359 |
Lines of code |
257 |
Logical lines of code |
137 |
Comment lines |
43 |
Methods |
28 |
Properties |
4 |
Methods 28
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getRulesForAutoBlock() |
A |
47 |
10 |
37 |
purgeDuplicateRulesForWhiteAndBlack() |
A |
51 |
9 |
27 |
getRanges() |
S |
49 |
6 |
31 |
loadRecordsForIP() |
S |
53 |
6 |
22 |
isUnBlocked() |
S |
58 |
6 |
16 |
getRules() |
S |
57 |
5 |
17 |
getBypasses() |
S |
50 |
4 |
30 |
removeRecordFromCache() |
S |
68 |
3 |
7 |
hasAutoBlock() |
S |
74 |
3 |
4 |
hasCrowdsecBlock() |
S |
64 |
3 |
10 |
isBlockedByShield() |
S |
78 |
3 |
3 |
isBlockedByCrowdsec() |
S |
79 |
2 |
3 |
getRuleForAutoBlock() |
S |
74 |
2 |
4 |
getBlockType() |
S |
78 |
2 |
3 |
getOffenses() |
S |
75 |
2 |
4 |
isBlocked() |
S |
79 |
2 |
3 |
ClearStatusForIP() |
S |
79 |
1 |
3 |
getIP() |
S |
82 |
1 |
3 |
__construct() |
S |
81 |
1 |
3 |
isAutoBlacklisted() |
S |
80 |
1 |
3 |
hasRules() |
S |
80 |
1 |
3 |
isBypass() |
S |
80 |
1 |
3 |
getRulesForBlock() |
S |
78 |
1 |
3 |
getRulesForShieldBlock() |
S |
79 |
1 |
3 |
getRulesForManualBlock() |
S |
78 |
1 |
3 |
getRulesForBypass() |
S |
78 |
1 |
3 |
getRulesForCrowdsec() |
S |
79 |
1 |
3 |
hasManualBlock() |
S |
80 |
1 |
3 |